package com.jadcon.bedbreakfast.domain;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("suiteService")
public class SuiteServiceImpl implements SuiteService {

	@Autowired
	private SuiteRepository suiteRepository;

	public List<Suite> getSuiteList() {
		return suiteRepository.getSuiteList();
	}

	public Suite getSuiteByNumber(int number) {
		return suiteRepository.getSuiteByNumber(number);
	}

	public int getCapacity(int suiteNumber) {
		return suiteRepository.getCapacity(suiteNumber);
	}
	
	

}
